package com.systop.domain.vo;

import com.systop.validator.group.UpdateGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Description: TODO
 * @Author: jsj
 * @Date: 2022/8/22
 */
@Data
public class CaptchaVo {
    @NotBlank(message = "手机号不能为空",groups = {UpdateGroup.class})
    private String userPhone;
    @NotNull(message = "类型不能为空",groups = {UpdateGroup.class})
    private boolean isUpdate;
}
